﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Mantenimiento.Master" AutoEventWireup="true" CodeBehind="AgregarResultado.aspx.cs" Inherits="ApuestasNetInterfaz.AgregarResultado" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="mainbar">

        <div class="center">
       
 
               <table border=0 style="margin-left: 0px; height: 434px;">
       <tr>
            <td colspan=2>
                Crear Apuesta:</td>       
       </tr>
<tr>
	<td style="width: 196px">Evento:</td>
	<td>
        <asp:DropDownList ID="ComboEvento" runat="server" DataSourceID="eventico" 
            DataTextField="Nombre" DataValueField="Idevento" Height="24px" 
            Width="177px">
        </asp:DropDownList>
        <asp:ObjectDataSource ID="eventico" runat="server" 
            SelectMethod="EventosRegistrados" TypeName="CapaDeGestion.GestionEvento">
        </asp:ObjectDataSource>
	</td>
</tr>
<tr>
	<td style="width: 196px">Participantes</td>
	<td>
        <asp:DropDownList ID="ComboParticipante" runat="server" DataSourceID="Participante" 
            DataTextField="Nombre" DataValueField="Idparticipante" Height="16px" 
            Width="168px">
        </asp:DropDownList>
        <asp:ObjectDataSource ID="Participante" runat="server" 
            SelectMethod="SeleccionarTodos" TypeName="CapaDeGestion.GestionParticipante">
        </asp:ObjectDataSource>
	</td>
</tr>
<tr>
	<td style="width: 196px">&nbsp;</td>
	<td>
        &nbsp;</td>
</tr>
<tr>
	<td style="width: 196px">Tope:</td>
	<td>
        <asp:TextBox ID="TextTopeint" runat="server"></asp:TextBox>
       
       
      
	</td>
</tr>
<tr>
	<td style="width: 196px">Apuesta:</td>
	<td>
        
        <asp:TextBox ID="Textapuestaint" runat="server"></asp:TextBox>
       
      
	</td>
</tr>

<tr>
	<td style="width: 196px">Apostador:</td>
	<td>
	<asp:TextBox ID="Txtapostadorint" TextMode="SingleLine" EnableTheming="false"  
            runat="server" Height="22px" Width="162px" ></asp:TextBox>
	</td>
</tr>
<tr>
	<td style="width: 196px">&nbsp;</td>
	<td>
	    &nbsp;</td>
</tr>

                   <tr>
                       <td style="width: 196px; height: 128px">
                           <br />
                       </td>
                   </tr>
<tr>
	<td colspan=2>
          <div id="message" style="width: 311px; height: 12px;"><br />
&nbsp;<br />
              <br />
              <br />
              <br />
              <br />
              <br />
        </div>
	</td>
</tr>
</table>
  

    <asp:Button ID="Guardar" runat="server" Text="Guardar" 
                   onclick="Guardar_Click" />
    <asp:Button ID="Cancelar" runat="server" Text="Cancelar" onclick="Cancelar_Click" />
    
		
        </div>
       </div>



</asp:Content>
<asp:Content ID="Content2" runat="server" 
    contentplaceholderid="ContentPlaceHolder2">
    Hola,
    <asp:Label ID="usuarioConectado" Font-Size="Medium" Font-Bold="true" ForeColor="White" runat="server"></asp:Label>
    <br />
    <asp:LinkButton ID="CerrarSesion" runat="server" Font-Bold="true" 
        ForeColor="White" onclick="CerrarSesion_Click">Cerrar Sesión</asp:LinkButton>
</asp:Content>

